<?php
$dbhost="localhost";
$dbusername="root";
$dbpassword="";
$dbname="cscms";
dibi::connect(array('host' => $dbhost,'username'=>$dbusername,'password'=>$dbpassword,'database'=>$dbname));
dibi::query("SET NAMES 'cp1250'"); 
$confquery=dibi::query("SELECT * FROM `config`");
$confdb=$confquery->fetchPairs('name','value');

?>
